<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<h1 v-text="'书名是:'+book.name+';作者是:'+book.author"></h1>
			<p>书名：{{book.name}}</p>
			<p>作者：{{book.author}}</p>
		</div>
		<script type="text/javascript">
			var app=new Vue({
				el:'#app',
				data:{
					book:{
						name:'Vue从入门到实战',
						author:'it研习社'
					}
				}
			});
		</script>
	</body>
</html>
